package com.school.service;

import java.util.List;

import com.school.pojo.Account;
import com.school.pojo.Student;
import com.school.pojo.Teacher;

public interface AccountService {

	List<Account> findAll();

	Account findByUsernameAndPassword(Account account);

	int add(Teacher teacher);

	Account findById(Integer a_id);

	int edit(Teacher t);

	int delbatch(int[] aid);

	int add(Student student);

	int edit(Student t);

}
